package org.jetlinks.community.mstn.entity.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.hswebframework.ezorm.rdb.mapping.annotation.ColumnType;
import org.hswebframework.ezorm.rdb.mapping.annotation.DefaultValue;
import org.hswebframework.ezorm.rdb.mapping.annotation.EnumCodec;
import org.hswebframework.web.system.authorization.api.entity.DimensionUserEntity;
import org.hswebframework.web.system.authorization.api.entity.UserEntity;
import org.jetlinks.community.auth.entity.RoleEntity;
import org.jetlinks.community.auth.entity.UserDetailEntity;
import org.jetlinks.community.auth.enums.RoleState;

import javax.persistence.Column;
import java.math.BigDecimal;

@Data
public class TenantListResVO {

    @Schema(description = "租户ID")
    private String id;

    @Schema(description = "租户名")
    private String name;

    @Schema(description = "租户套餐")
    private String tenantPackageName;

    @Schema(description = "说明")
    private String describe;

    @Schema(description = "租户创建时间")
    private Long createTime;

    @Schema(description = "租户过期时间")
    private Long expireTime;

    @Schema(description = "租户套餐价格")
    private BigDecimal tenantPrice;


    @Schema(description = "项目状态。enabled为正常，disabled为已禁用")
    private RoleState projectState;

    private DimensionUserEntity joinTable;

    private RoleEntity tenantInfo;

    private UserDetailEntity contactInfo;

    private UserEntity userInfo;
}
